package com.hyz.reggie.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hyz.reggie.pojo.Orders;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;


public interface OrderService extends IService<Orders> {

    /**
     * 用户下单
     * @param orders
     */
     void submit(Orders orders);

    IPage<Orders> getPage(Integer page, Integer pageSize, Long number, String beginTime, String endTime);

    void sendOrders(Orders orders);

    IPage<Orders> getUserPage(Integer page, Integer pageSize);

    void moreAgain(Orders orders);
}
